]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
test-gapplication: Untabify, add modeline
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 30 Mar 2012 14:44:36 +0000 (10:44 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 14 Jul 2012 22:27:10 +0000 (18:27 -0400)
tests/interactive/gapplication.js

index fd6b72c98a7b5b710b18d6c39d47d21644b16812..d6414f238224ee6d42d56a999784f596949ffba1 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env gjs
+// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
 
 const Gdk = imports.gi.Gdk;
 const Gio = imports.gi.Gio;
@@ -28,7 +29,7 @@ function main() {
 
     let app = new Gtk.Application({ application_id: 'org.gnome.Shell.GtkApplicationTest' });
     app.connect('activate', function() {
-       print ("Activated");
+        print ("Activated");
     });
 
     let action = new Gio.SimpleAction({ name: 'one' });
@@ -91,12 +92,11 @@ function main() {
     let window = null;
 
     app.connect_after('startup', function(app) {
-       app.set_app_menu(menu);
-
-       window = new Gtk.ApplicationWindow({ title: "Test Application", application: app });
+        app.set_app_menu(menu);
+        window = new Gtk.ApplicationWindow({ title: "Test Application", application: app });
     });
     app.connect('activate', function(app) {
-       window.present();
+        window.present();
     });
 
     app.run(null);